export interface user{
    username:string|number,
    password:string
}
export interface Img{
    url:string,
    isImage?:boolean
}
export interface publishType{
    ImgList:Array<string>,
    price:string,
    remark:string,
    type:string
}


export interface card{
    id:string,
    publisherId:string,
    avatar:string,
    imgUrl:Array<string>,
    nickname:string,
    price:string,
    remark:string,
    state:string|number,
    type:string
}

export interface userInfo{
    id:string,
    avatar:string,
    nickname:string,
    gender:string,
    birthday:string,
    registerTime:string,
    brief_intro:string
}

export interface message{
    message:string,
    senderId:string,
    receiverId:string
}
export interface messageInfo{
    messageCohort:Array<message>,
    id:string,
    unReadNum:number
}
export interface iDrag {
    disY: number,
    Y: number,
    viewHeight: number,
    damping: number,
    moveY: number
    }